/**
 * Coryright 2015-2020 www.eyaomall.cn
 * All rights reserved.
 * @author tumingjun
 * @date 2016年9月21日
 *
 */

package com.eyaomall.wxmanage.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.eyaomall.wxmanage.model.vo.DepositUserVO;
import com.eyaomall.wxmanage.service.DepositUserService;
import com.lycheeframework.core.cmp.api.http.GsnData;
import com.lycheeframework.core.cmp.api.http.GsnResponse;
import com.lycheeframework.core.cmp.kit.PageHTTPObject;

/**
 * @author tumingjun
 *
 */
@Controller
@RequestMapping("deposit_user")
public class DepositUserController {
	
	@Autowired
	private DepositUserService depositUserService;
	
	
	/**
	 * 获取列表
	 * @param depositVO
	 * @param httpObject
	 * @return
	 */
	@RequestMapping("/page_data")
	public @ResponseBody GsnData pageData(DepositUserVO depositUserVO,PageHTTPObject httpObject){
		
		return GsnResponse.toData(depositUserService.page(depositUserVO,httpObject));
	}
	/**
	 * 跳转到主页
	 * @return
	 */
	@RequestMapping("/index")
	public String index(){
		return "deposit/page";
	}

}
